<template>
  <section class="head">
    <div class="box">
      <!-- logo -->
      <div class="seacher">
        <div class="logo">
          <img
            src="https://img.alicdn.com/imgextra/i2/O1CN01a69z6z1hJklCkBqOU_!!6000000004257-2-tps-174-106.png"
            alt=""
          />
        </div>
        <!-- 搜索框 -->
     <div class="seacher-box">
          <form>
         
            <div class="input-group">
              <input
                type="text"
                class="form-control"
                placeholder="搜索 天猫 商品/品牌/店铺"
              />
              <span class="input-group-text">搜索</span>
            </div>
          </form>
        </div> 
      </div>
    </div>
  </section>
</template>

<script>
export default {
  name: "HeadView",
};
</script>

<style scoped>
.box {
  width: 1190px;
  margin: 0 auto;
}
img {
  width: 87px;
  height: 53px;
}
.col-md-2 {
  padding: 0px;
}
.seacher{
    padding-left: 100px;
    display: flex;
}
.logo {
    width: 20%;
  float: left;

  margin-top: 40px;
}
.seacher-box{
    padding-top: 43px;
    width: 59%;
}
.input-group{
    float: left;
}
.form-control{
    width: 524px !important;
    height: 42px;
    border-radius: 20px;
    border: 1px solid;
    border-color: #f9c2c2;
}
.input-group-text{
    background-color: #fe0317;
    color: #ffffff;
    width: 90px;
    height: 42px;
    border: none;
    justify-content: center;
    border-radius: 20px;
    line-height: 42px;
}

.form-control:focus {
    box-shadow: none;
}
</style>